package cn.cboard.dao;

import junit.framework.TestCase;
import cn.cboard.model.User;

public class UserDaoTest extends TestCase{
	private UserDao userDao = DaoFacade.getUserDao();
	
	public UserDaoTest(String name) {
		super(name);
	}

	public void testGetUser(){
		User u = userDao.getUser(new Long(2));
		assertEquals("Error:","panloon", u.getUsername());
	}

}
